//  钞票
#include <stdio.h>
int main() {
    int n;
    scanf("%d", &n);
    int count_100, count_50, count_20, count_10, count_5, count_2, count_1;
    printf("%d\n", n);
    //n是总面值
    count_100 = n/ 100;
    //用总面值除以100得到100的数量
    n = n % 100;
    //取余算出剩下的总面值
    count_50 = n / 50;
    //剩余面值除以50得到50的数量
    n = n % 50;
    count_20 = n / 20;
    n = n % 20;
    count_10 = n / 10;
    n = n % 10;
    count_5 = n / 5;
    n = n % 5;
    count_2 = n / 2;
    n = n % 2;
    count_1 = n;
    printf("%d nota(s) de R$ 100,00\n",count_100);
    printf("%d nota(s) de R$ 50,00\n",count_50);
    printf("%d nota(s) de R$ 20,00\n",count_20);
    printf("%d nota(s) de R$ 10,00\n",count_10);
    printf("%d nota(s) de R$ 5,00\n",count_5);
    printf("%d nota(s) de R$ 2,00\n",count_2);
    printf("%d nota(s) de R$ 1,00\n",count_1);
    return 0;
}